// 基于template/src/widgets/{{appEntities}}/{{ctrls@KANBAN}}-kanban/{{spinalCase ctrl.codeName}}-kanban-model.ts.hbs生成
import { IDataViewCtrlModel } from "@/core";

//  获取列表模型
function getModel(): IDataViewCtrlModel {
  return {
    cssName: "",         
    aggMode: '',
    caption: '',
    controlType: 'KANBAN',
    codeName: 'HasPanelKanBan',
    entityCodeName: 'IBIZBOOK',
    entityLogicName: '图书',
    ctrlMsgModel:[
    ],
    enableGroup: true,
    //  请确保此项与表格分组列模型中的dataIndex一致
    groupDataIndex: 'grid_group',
    groupMode: 'AUTO',
    groupField: 'author',
    name: 'kanban',
    noSort: false,
    showHeader: true,
    sortDir: '',
    sortField: '',
    singleSelect:false,
    dataImport: {
      codeName: 'DataImport',
      ignoreError: false,
    },
    paging: {
      defaultPageSize: 20
    }
  };
}

export const model = getModel();